﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Atentis_Connector
{
	/// <summary>
	/// Содержит список поступающих новостей.
	/// </summary>
	class WrapperNews
	{
		private int m_NewsNo; 
		/// <summary>
		/// Номер новости
		/// </summary>
		public int NewsNo { get { return m_NewsNo; } set { m_NewsNo = value; } }

		private DateTime m_Time;
		/// <summary>
		/// Время получения новости
		/// </summary>
		public DateTime Time { get { return m_Time; } set { m_Time = value; } }

		private string m_ContentType;
		/// <summary>
		/// Тип сообщения
		/// </summary>
		public string ContentType { get { return m_ContentType; } set { m_ContentType = value; } }

		private string m_Source;
		/// <summary>
		/// Источник информации
		/// </summary>
		public string Source { get { return m_Source; } set { m_Source = value; } }

		private string m_Subject;
		/// <summary>
		/// Тема (заголовок)
		/// </summary>
		public string Subject { get { return m_Subject; } set { m_Subject = value; } }

		private string m_Body;
		/// <summary>
		/// Текст новости
		/// </summary>
		public string Body { get { return m_Body; } set { m_Body = value; } }

	}
}
